package com.linkage.educloud.ah.view.activity.contact;

import android.database.Cursor;
import android.os.Bundle;
import android.support.v4.app.LoaderManager;
import android.support.v4.content.Loader;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.ImageButton;
import android.widget.RelativeLayout;

import com.jcodecraeer.xrecyclerview.XRecyclerView;
import com.linkage.educloud.ah.R;
import com.linkage.educloud.ah.view.BasicTitleActivity;

import butterknife.BindView;
import butterknife.OnClick;

/**
 * <desc>
 * Created by The Moss on 2018/12/3.
 */

public class ChatActivity extends BasicTitleActivity {
    @BindView(R.id.activity_chat_recyclerView)
    XRecyclerView mRecyclerView;
    @BindView(R.id.activity_chat_voiceIb)
    ImageButton mVoiceIb;
    @BindView(R.id.activity_chat_keyboardBtn)
    Button mKeyboardBtn;
    @BindView(R.id.activity_chat_yuyinBtn)
    Button mYuyinBtn;
    @BindView(R.id.activity_chat_inputEt)
    EditText mInputEt;
    @BindView(R.id.activity_chat_emciIb)
    ImageButton mEmciIb;
    @BindView(R.id.activity_chat_shuruRl)
    RelativeLayout mShuruRl;
    @BindView(R.id.activity_chat_moreBtn)
    Button mMoreBtn;
    @BindView(R.id.activity_chat_sendBtn)
    Button mSendBtn;

    @Override
    protected int attachLayoutRes() {
        return R.layout.activity_chat;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

    }

    @OnClick({R.id.activity_chat_recyclerView, R.id.activity_chat_voiceIb, R.id.activity_chat_keyboardBtn, R.id.activity_chat_yuyinBtn, R.id.activity_chat_emciIb, R.id.activity_chat_moreBtn, R.id.activity_chat_sendBtn})
    public void onClick(View view) {
        switch (view.getId()) {
            case R.id.activity_chat_recyclerView:
                break;
            case R.id.activity_chat_voiceIb:
                break;
            case R.id.activity_chat_keyboardBtn:
                break;
            case R.id.activity_chat_yuyinBtn:
                break;
            case R.id.activity_chat_emciIb:
                break;
            case R.id.activity_chat_moreBtn:
                break;
            case R.id.activity_chat_sendBtn:
                break;
        }
    }
    private void initLoader() {
        getSupportLoaderManager().initLoader(2, null, new LoaderManager.LoaderCallbacks<Cursor>() {
            @Override
            public Loader<Cursor> onCreateLoader(int id, Bundle args) {
                return null;
            }

            @Override
            public void onLoadFinished(Loader<Cursor> loader, Cursor data) {

            }

            @Override
            public void onLoaderReset(Loader<Cursor> loader) {

            }
        });
    }
}
